runtime.p.timers (field)
47 uses
runtime (current package)
proc.go#L3688: if len(pp.timers) > 0 {
proc.go#L3690: for len(pp.timers) > 0 {
proc.go#L3706: if pp == getg().m.p.ptr() && int(pp.deletedTimers.Load()) > len(pp.timers)/4 {
proc.go#L5108: if len(pp.timers) > 0 {
proc.go#L5116: moveTimers(plocal, pp.timers)
proc.go#L5117: pp.timers = nil
proc.go#L5492: if len(pp.timers) > 0 {
proc.go#L5823: print(" runqsize=", t-h, " gfreecnt=", pp.gFree.n, " timerslen=", len(pp.timers), "\n")
runtime2.go#L736: timers []*timer
time.go#L301: i := len(pp.timers)
time.go#L302: pp.timers = append(pp.timers, t)
time.go#L303: siftupTimer(pp.timers, i)
time.go#L304: if t == pp.timers[0] {
time.go#L380: if t := pp.timers[i]; t.pp.ptr() != pp {
time.go#L385: last := len(pp.timers) - 1
time.go#L387: pp.timers[i] = pp.timers[last]
time.go#L389: pp.timers[last] = nil
time.go#L390: pp.timers = pp.timers[:last]
time.go#L395: smallestChanged = siftupTimer(pp.timers, i)
time.go#L396: siftdownTimer(pp.timers, i)
time.go#L414: if t := pp.timers[0]; t.pp.ptr() != pp {
time.go#L419: last := len(pp.timers) - 1
time.go#L421: pp.timers[0] = pp.timers[last]
time.go#L423: pp.timers[last] = nil
time.go#L424: pp.timers = pp.timers[:last]
time.go#L426: siftdownTimer(pp.timers, 0)
time.go#L565: if len(pp.timers) == 0 {
time.go#L577: t := pp.timers[0]
time.go#L687: for i := 0; i < len(pp.timers); i++ {
time.go#L688: t := pp.timers[i]
time.go#L776: t := pp.timers[0]
time.go#L804: if len(pp.timers) == 0 {
time.go#L861: siftdownTimer(pp.timers, 0)
time.go#L912: timers := pp.timers
time.go#L972: pp.timers = timers
time.go#L984: for i, t := range pp.timers {
time.go#L992: if t.when < pp.timers[p].when {
time.go#L993: print("bad timer heap at ", i, ": ", p, ": ", pp.timers[p].when, ", ", i, ": ", t.when, "\n")
time.go#L997: if numTimers := int(pp.numTimers.Load()); len(pp.timers) != numTimers {
time.go#L998: println("timer heap len", len(pp.timers), "!= numTimers", numTimers)
time.go#L1006: if len(pp.timers) == 0 {
time.go#L1009: pp.timer0When.Store(pp.timers[0].when)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |